<!--登录页面-->
<!--一个页面一个模块,模块要以页面的形式来划分-->
<div style="background-image: url('imgs/14.png');background-position: center center;height: 940px;">
    <div class="" ng-app="loginApp" ng-controller="loginController"style="opacity: 0.8;width: 400px;margin: 0 auto" >
        <!--标题-->
        <div class="col-md-6 col-md-offset-3" style="padding-top: 80px">
            <div class="" style="border-bottom: none">
                <h2 class="text-center" style="border: 0;padding: 0;margin: 0">放飞梦想</h2>
            </div>
        </div>
        <div style="clear:both"></div>
        <!--错误提示信息-->
        <div id="message" class="well" ng-show="message">{{message}}</div>
        <!--登录表单-->
        <form ng-submit="postForm()">
            <div class="form-group">
                <label>用户名</label>
                <input type="text" class="form-control" name="username" placeholder="用户名" ng-model="formData.username">
                <span class="help-block" ng-show="errorUsername">{{errorUsername}}</span>
            </div>
            <div class="form-group">
                <label>密码</label>
                <input type="password" class="form-control" name="password" placeholder="密码" ng-model="formData.password">
                <span class="help-block" ng-show="errorPassword">{{errorPassword}}</span>
            </div>
            <button type="submit" class="btn btn-success btn-block btn-lg"><span class="glyphicon glyphicon-flash"></span>提交</button>
        </form>
    </div>
</div>